package com.ruoyi.app.mapper;

import java.util.List;
import com.ruoyi.app.domain.AppMediumActivityTag;

/**
 * 活动与自选标签的关联Mapper接口
 * 
 * @author ruoyi
 * @date 2025-11-06
 */
public interface AppMediumActivityTagMapper 
{
    /**
     * 查询活动与自选标签的关联
     * 
     * @param id 活动与自选标签的关联主键
     * @return 活动与自选标签的关联
     */
    public AppMediumActivityTag selectAppMediumActivityTagById(Long id);

    /**
     * 查询活动与自选标签的关联列表
     * 
     * @param appMediumActivityTag 活动与自选标签的关联
     * @return 活动与自选标签的关联集合
     */
    public List<AppMediumActivityTag> selectAppMediumActivityTagList(AppMediumActivityTag appMediumActivityTag);

    /**
     * 新增活动与自选标签的关联
     * 
     * @param appMediumActivityTag 活动与自选标签的关联
     * @return 结果
     */
    public int insertAppMediumActivityTag(AppMediumActivityTag appMediumActivityTag);

    /**
     * 修改活动与自选标签的关联
     * 
     * @param appMediumActivityTag 活动与自选标签的关联
     * @return 结果
     */
    public int updateAppMediumActivityTag(AppMediumActivityTag appMediumActivityTag);

    /**
     * 删除活动与自选标签的关联
     * 
     * @param id 活动与自选标签的关联主键
     * @return 结果
     */
    public int deleteAppMediumActivityTagById(Long id);

    /**
     * 批量删除活动与自选标签的关联
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAppMediumActivityTagByIds(Long[] ids);



    /**
     * 根据活动ID查询标签ID集合
     * @param activityId 活动ID
     * @return 标签ID列表
     */
    List<Long> selectTagIdsByActivityId(Long activityId);
}
